#!/usr/bin/env python
#####################################
# Installation module for zmap
#####################################

# AUTHOR OF MODULE NAME
AUTHOR="Steven van der Baan (vdbaan)"

# DESCRIPTION OF THE MODULE
DESCRIPTION="This module will install/update ZNmap (The Internet Scanner)."

# INSTALL TYPE GIT, SVN, FILE DOWNLOAD
# OPTIONS = GIT, SVN, FILE
INSTALL_TYPE="GIT"

# LOCATION OF THE FILE OR GIT/SVN REPOSITORY
REPOSITORY_LOCATION="https://github.com/zmap/zmap.git"

# WHERE DO YOU WANT TO INSTALL IT
INSTALL_LOCATION="zmap"

# DEPENDS FOR DEBIAN INSTALLS
DEBIAN="git,build-essential,cmake,libgmp3-dev,gengetopt,libpcap-dev,flex,byacc,libjson-c-dev,pkg-config,libunistring-dev"

# DEPENDS FOR FEDORA INSTALLS
# FEDORA="subversion,autoconf,make -j4,automake,gcc,gcc-c++,kernel-devel,openssl-devel"

# COMMANDS TO RUN AFTER
AFTER_COMMANDS="cd {INSTALL_LOCATION},cmake .,make -j4,make -j4,make install"
